package com.hopu.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ContractVO {

    private String contractId;

    private String offeror;

    private String contractNo;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date signingDate;

    private String inputBy;

    private String checkBy;

    private String inspector;

    private BigDecimal totalAmount;

    private BigDecimal importNum;

    private String crequest;

    private String customName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deliveryPeriod;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date shipTime;

    private String tradeTerms;

    private String remark;

    private String printStyle;

    private Integer oldState;

    private Integer state;

    private Integer outState;

    private String createBy;

    private String createDept;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private String cpnum;

    private String extnum;

    private List<ContractProductCVo> contractProductcS;

}
